#include <stdio.h>
#include <stdlib.h>

void functionWithoutGotoStatement() {
	int a;
	
	a = 3;
	
	a++;
}

int functionWithSingleReturn() {
	int a;
	
	a = 3;
	
	a++;
	
	return a;
}

int functionWithRequiredReturn() {
	int a;
	
	a = 3;
	
	a++;
	
	return a;
}

void functionWithoutContinueStatement() {
	int a;
	int c;
	
	for (a = 0; a < 10; a++){
		c = a;
	}
}

void functionWithAtMostOneBreak() {
	int a;
	int c;
	
	for (a = 0; a < 10; a++){
		c = a;
		
		if (c > 5){
			break;
		}
	}
}

void functionWithCompoundStatements() {
	int a;
	int b;
	a = 0;
	
	while(a < 10){
		a++;
	}
	
	a = 0;
	
	do{
		a++;
	}
	while (a < 10);
	
	switch (a){
		case 9:
			a = 10;
			break;
		default:
			a = 0;
	}
	
	for (a = 0; a < 10; a++ ){
		b = a;
	}
}

void functionWithNoFloatingPointComparison() {
	float a;
	float b;
	
	a = 3.11;
	b = 4.11;
	
	a = b;
}

void functionWithNoMixingUnaryAndBinaryOperators() {
	int a;
	int b;
	int c;
	
	a = 3;
	b = 1;
	c = 5;
	
	a = (b + c)*a;
	a++;
	
	b = (c - a)*b;
	
	b--;
}